import requests
from bs4 import BeautifulSoup


class jiexi():

    def start_request(self,url):

        self.res = requests.get(url)

        if self.res.status_code == 200:

            self.start_jiexi(self.res.text)


    def start_jiexi(self,text):

        soup = BeautifulSoup(text,'html.parser')

        pinglun = soup.find_all(class_='comment-content')

        for i in pinglun:

            ping = i.find('p')
            print(ping.text)


a = jiexi()
a.start_request('https://wordpress-edu-3autumn.localprod.forc.work/all-about-the-future_04/')